import http from "@/utils/request";
import { isDate } from "element-plus/es/utils/types.mjs";
export function getCompany(){
    return http.request({
        url:"/glacier-hardware/meter/getCompany",
        method:'get'
    })
}

export function getMeterRecord(param:any){
    return http.request({
        url:`/glacier-dataApi/meterRecord/getMeterRecord`,
        method:'get',
        params:param
    })
}
      
export function getMode(){
    return http.request({
        url:`/glacier-dataApi/AlarmProcessMode/getMode`,
        method:'get'
    })
}

export function addModeRecord(data:any){
    return http.request({
        url:`/glacier-dataApi/AlarmProcessRecord/add`,
        method:'post',
        data
    })
}

